package edu.scau.payment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class PaymentVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(name = "id", description = "自增id", type = "long")
    private long id;
    @Schema(name = "paymentId", description = "标识", type = "String")
    private String paymentId;
    @Schema(name = "orderId", description = "关联的订单编号", type = "String")
    private String orderId;
    @Schema(name = "strategyId", description = "优惠策略id", type = "String")
    private String strategyId;
    @Schema(name = "amount", description = "支付金额", type = "double")
    private double amount;
    @Schema(name = "paymentMethod", description = "支付方式", type = "int")
    private int paymentMethod;
    @Schema(name = "discountAmount", description = "优惠后金额", type = "double")
    private double discountAmount;
    @Schema(name = "payTime", description = "支付时间", type = "Date")
    private Date payTime;
    @Schema(name = "tradeId", description = "支付返回的支付流水id", type = "String")
    private String tradeId;

}